Skip to content

,System.String,--0,System.Reactive.Concurrency.IScheduler,System.TimeSpan)}

SecondaryIndexReactiveView.Create(QuaternaryDictionary, string, TIndexKey, IScheduler, TimeSpan) method

Defined in

Type: SecondaryIndexReactiveView Namespace: ReactiveList.Reactive.Views Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public static SecondaryIndexReactiveView<TKey, TValue> Create<TIndexKey>(QuaternaryDictionary<TKey, TValue> source, string indexName, TIndexKey indexKey, IScheduler scheduler, TimeSpan throttle) where TIndexKey : notnull

View source (opens in a new tab)

Summary: Creates a typed instance of SecondaryIndexReactiveView for a secondary index key.

Type parameters

NameDescription
TIndexKeyThe type of the secondary index key.

Parameters

NameTypeDescription
sourceQuaternaryDictionaryThe source dictionary to filter.
indexNamestring (opens in a new tab)The name of the secondary index.
indexKeyTIndexKeyThe key value to filter on.
schedulerISchedulerThe scheduler for dispatching updates.
throttleTimeSpan (opens in a new tab)The throttle duration for updates. Zero disables throttling; updates still use the specified scheduler.

Returns: SecondaryIndexReactiveView -- A new SecondaryIndexReactiveView bound to the specified index key.